package com.baomidou.springmvc.common.utils;


/**
 * 
 * @author hewei
 * @ClassName: Json
 * @Copyright beauty_tech
 * @date 2017年5月3日 下午2:01:45
 * @description json实体类
 */
public class Json {
	private boolean success = false;

	/**
	 * 返回正确或错误消息
	 */
	private String msg = "";

	/**
	 * object可以是单个值也可以是一个对象或集合格式
	 */
	private Object obj = null;
	private Object obj1 = null;
	
	

	public Object getObj1() {
		return obj1;
	}

	public void setObj1(Object obj1) {
		this.obj1 = obj1;
	}

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public Object getObj() {
		return obj;
	}

	public void setObj(Object obj) {
		this.obj = obj;
	}
	public static void main(String[] args) throws InstantiationException, IllegalAccessException, ClassNotFoundException {
		Json o = (Json)Class.forName("com.baomidou.springmvc.common.utils.Json").newInstance();
		o.setObj1(18);
		System.out.println(o.getObj1());
		
		
		
	}
}
